From: Richard M. Stallman Date: Fri, 28 May 1993 21:13:59 +0000 (+0000) Subject: (XTread_socket, case KeyPress) [HPUX]: X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~95842 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=c34790e0b533bf7ddb6bc6d4c654bc7d9dd2ba80;p=emacs.git (XTread_socket, case KeyPress) [HPUX]: Recognize the extended function keys. --- diff --git a/src/xterm.c b/src/xterm.c index 7c6fee06912..033b1da5685 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -2874,6 +2874,12 @@ XTread_socket (sd, bufp, numchars, waitp, expected) || keysym == XK_Delete || IsCursorKey (keysym) /* 0xff50 <= x < 0xff60 */ || IsMiscFunctionKey (keysym) /* 0xff60 <= x < 0xff80 */ +#ifdef HPUX + /* This recognizes the "extended function keys". + It seems there's no cleaner way. */ + || ((unsigned) (keysym) >= XK_Select + && (unsigned)(keysym) < XK_KP_Space) +#endif || IsKeypadKey (keysym) /* 0xff80 <= x < 0xffbe */ || IsFunctionKey (keysym)) /* 0xffbe <= x < 0xffe1 */ {